.class public Lorg/springframework/context/support/AbstractApplicationContext;
.super Ljava/lang/Object;
.source "AbstractApplicationContext.java"


# instance fields
.field private _beanFactory:Lorg/springframework/beans/factory/BeanFactory;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 6
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getBean(Ljava/lang/Class;)Ljava/lang/Object;
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Class",
            "<TT;>;)TT;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lorg/springframework/beans/BeansException;
        }
    .end annotation

    .prologue
    .line 11
    .local p1, requiredType:Ljava/lang/Class;,"Ljava/lang/Class<TT;>;"
    invoke-virtual {p0}, Lorg/springframework/context/support/AbstractApplicationContext;->getBeanFactory()Lorg/springframework/beans/factory/BeanFactory;

    move-result-object v0

    invoke-interface {v0, p1}, Lorg/springframework/beans/factory/BeanFactory;->getBean(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getBean(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
    .locals 1
    .parameter "name"
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/String;",
            "Ljava/lang/Class",
            "<TT;>;)TT;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lorg/springframework/beans/BeansException;
        }
    .end annotation

    .prologue
    .line 15
    .local p2, requiredType:Ljava/lang/Class;,"Ljava/lang/Class<TT;>;"
    invoke-virtual {p0}, Lorg/springframework/context/support/AbstractApplicationContext;->getBeanFactory()Lorg/springframework/beans/factory/BeanFactory;

    move-result-object v0

    invoke-interface {v0, p1, p2}, Lorg/springframework/beans/factory/BeanFactory;->getBean(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getBeanFactory()Lorg/springframework/beans/factory/BeanFactory;
    .locals 1

    .prologue
    .line 22
    iget-object v0, p0, Lorg/springframework/context/support/AbstractApplicationContext;->_beanFactory:Lorg/springframework/beans/factory/BeanFactory;

    return-object v0
.end method

.method public setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V
    .locals 0
    .parameter "beanFactory"

    .prologue
    .line 29
    iput-object p1, p0, Lorg/springframework/context/support/AbstractApplicationContext;->_beanFactory:Lorg/springframework/beans/factory/BeanFactory;

    .line 30
    return-void
.end method
